package com.ssy.oppo.controller;

import com.ssy.oppo.model.pojo.ShouQuan;
import com.ssy.oppo.service.ShouQuanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
 * @author: 苏少有的idea
 * @date:   2021/11/24
 * @description  授权页面控制器
 */
@RestController
public class ShouQuanController {
    @Autowired
    ShouQuanService shouQuanService;
    @GetMapping("/shouquan")
    public List<ShouQuan> toShouQuan() {
        return shouQuanService.selectShouQuan();
    }
}
